package ltd.hxya.novel.entity.book;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import ltd.hxya.novel.entity.base.BaseEntity;

import java.io.Serializable;

/**
 * <p>
 * 小说评论回复表
 * </p>
 *
 * @author hty
 * @since 2022-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("book_comment_reply")
@ApiModel(value="BookCommentReply对象", description="小说评论回复表")
public class BookCommentReply extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "评论ID")
    private Long commentId;

    @ApiModelProperty(value = "回复内容")
    private String replyContent;

    @ApiModelProperty(value = "审核状态，0：待审核，1：审核通过，2：审核不通过")
    private Boolean auditStatus;

    @ApiModelProperty(value = "回复时间")
    private Long createUserId;


}
